from common.database import db_connect
from sqlalchemy import Table

engine, session, Base = db_connect()

class User(Base):
  __table__ = Table("user", Base.metadata, autoload_with = engine)
  
  def get_one(self):
    return session.query(User).first()
  